#XfcePanelWindow {
   padding-top: 2px;
   padding-bottom: 0px; }

#XfcePanelWindow button {
   margin: 2px;
   margin-left: 0px; }

#XfcePanelWindow button > box {
   margin-top: 1px;
   margin-right: 3px; }

#XfcePanelWindow button box > image {
   margin-right: -5px; }

#XfcePanelWindowWrapper {
   box-shadow: 0 1px @light_shadow;
   margin-top: 3px; }

#XfcePanelWindow button:active, #XfcePanelWindow button:checked {
   font-weight: bold;
   margin-top: 2px;
   margin-bottom: 2px;
   margin-left: 1px;
   border: none;
   box-shadow: none;
   border-top: 1px solid @borders;
   border-left: 1px solid @borders;
   border-bottom: 1px solid @light_shadow;
   border-right: 1px solid @light_shadow;
   box-shadow: 1px 1px @dark_shadow inset, -1px -1px @button_bg_color inset;
   background-image: url("assets/scrollbar_trough.png");
   color: @toolbar_fg_color;
   background-color: @button_bg_color; }


#XfcePanelWindowWrapper > * > * > * {
   border: none;
   box-shadow: none; }

#XfcePanelWindowWrapper > * > frame {
   margin-top: 3px;
   margin-bottom: 2px;
   padding-right: 3px;
   border-top: 1px solid @dark_shadow;
   border-left: 1px solid @dark_shadow;
   border-right: none;
   border-bottom: 1px solid @light_shadow; 
   box-shadow: 0 -3px @light_shadow, 0 -2px @bg_color; }

#XfcePanelWindowWrapper > * > frame > * {
   margin-top: -1px; 
   margin-bottom: 1px; }

#XfcePanelWindow #launcher-arrow, 
#XfcePanelWindow #launcher-arrow:hover {
   border-radius: 0;
   margin: 0;
   margin-top: 1px;
   padding: 3px; }

#XfcePanelWindow #launcher-arrow:active {
   box-shadow: 1px 1px @dark_shadow inset, -1px -1px @light_shadow inset;
   background-image: none;
   border: transparent solid; }

#XfcePanelWindow {
   box-shadow: 0 1px @light_shadow inset;
   border-top: @light_shadow 1px solid; }

#XfcePanelWindow #clock-button,
#XfcePanelWindow #clock-button:hover,
#XfcePanelWindow #clock-button:checked {
   margin-left: -2px;
   padding-right: 3px;
   margin-top: 3px;
   margin-bottom: 2px;
   border-top: 1px solid @dark_shadow;
   border-right: 1px solid @light_shadow;
   border-bottom: 1px solid @light_shadow; }

#applicationmenu-button {
   font-weight: bold;
   padding: 4px;
   margin-left: 4px;
   margin-top: 2px;
   margin-bottom: 2px;
   color: @theme_fg_color;
   border-top: 1px solid @button_bg_color;
   border-left: 1px solid @button_bg_color;
   border-right: 1px solid @borders;
   border-bottom: 1px solid @borders; 
   border-radius: 0px;
   background-color: @button_bg_color;
   box-shadow: inset -1px 0 @dark_shadow, inset 0 -1px @dark_shadow, inset 1px 0 @light_shadow, inset 0 1px @light_shadow,
   0 -2px @light_shadow, 0 -1px @bg_color; }

#applicationmenu-button:checked, #whiskermenu-button:active {
   border: none;
   box-shadow: none;
   margin-right: 1px;
   border-top: 1px solid @borders;
   border-left: 1px solid @borders;
   border-bottom: 1px solid @light_shadow;
   border-right: 1px solid @light_shadow;
   box-shadow: 1px 1px @dark_shadow inset, -1px -1px @button_bg_color inset,
   0 -2px @light_shadow, 0 -1px @bg_color;
   background-image: url("assets/scrollbar_trough.png");
   color: @toolbar_fg_color;
   background-color: @button_bg_color; }

#applicationmenu-button box {
   padding: 3px; }


XfdesktopIconView .view {
   color: #fff; 
   background-color: transparent;
   text-shadow: 1px 1px #000; }

XfdesktopIconView .view:active {
   color: #fff; }

XfdesktopIconView:active {
   color: @selected_bg_color;
   background-color: @selected_bg_color; }

/* Hack to give the task bar a pseudo handle
Remove code after this comment to disable the fake handle image.
Since the task bar name changes based on individual panel layout, support
up to 24 different positions. */

#tasklist > box, #tasklist-1 > box, #tasklist-2 > box, #tasklist-3 > box, 
#tasklist-4 > box, #tasklist-5 > box, #tasklist-6 > box, #tasklist-7 > box, 
#tasklist-8 > box, #tasklist-9 > box, #tasklist-10 > box, #tasklist-11 > box, 
#tasklist-12 > box, #tasklist-13 > box, #tasklist-14 > box, #tasklist-15 > box, 
#tasklist-16 > box, #tasklist-17 > box, #tasklist-18 > box, #tasklist-19 > box,
#tasklist-20 > box, #tasklist-21 > box, #tasklist-22 > box, #tasklist-23 > box, 
#tasklist-24 > box {
   border-left: 11px solid;
   border-image: url("assets/handle.png");
   border-image-slice: 2 2 2 11;
}

/* Hack to give the first launcher icon a pseudo handle */
#XfcePanelWindow  widget > widget:nth-child(2) box #launcher-arrow {
   border-left: 11px solid;
   border-image: url("assets/handle.png");
   border-image-slice: 4 4 3 11;
}

#XfcePanelWindow  widget > widget:nth-child(2) box #launcher-arrow image {
   margin-left: 2px;
   margin-right: 2px;
}

#XfcePanelWindow  widget > widget:nth-child(2) box #launcher-arrow:active image {
   margin-left: 2px;
   margin-right: 3px;
}
